<admintpl file="header" />


<link href="__TMPL__Public/assets/css/infomation.css" rel="stylesheet" />
</head>
<body>
    <div class="wrap">
        <ul class="nav nav-tabs">
            <li><a href="{:U('FinalAcceptanceExamination/index')}">单位工程竣工验收报审表管理</a></li>
            <li class="active"><a href="{:U('FinalAcceptanceExamination/add')}">新增单位工程竣工验收报审</a></li>
        </ul>
        <section class="tab-pane active fade in" id="access">
            <div class="row">
                <div class="col-xs-12 col-md-12 col-lg-12">
                    <div class="panel panel-info">
                        <div class="panel-body">
                            <form method="post" class="form-horizontal " action="{:U('FinalAcceptanceExamination/add_post')}">
                                <input type="hidden" name="audit_level" value="2" >
                                <div class="row tg-header">
                                    <div class="col-md-12 text-center">
                                        <h3>单位工程竣工验收报审表</h3>
                                        <hr />
                                    </div>
                                    <div class="col-md-12">
                                        <p class="tg-to"><label>工程名称:</label><input type="text" class="input-xt input-deptname" value="{$job_name}" readonly/></p>
                                        <p class="pull-right tg-serialnum"><label>编号:</label><input class="input-xt" name="code" required/></p>
                                    </div>
                                </div>

                                <table class="table table-bordered">
                                    <tr>
                                        <td style="border-right:none !important;">
                                            <p>
                                                <label>致：<input type="text" class="input-xt input-deptname"  name="supervisory_department" value="浙江泛华工程监理有限公司" readonly/>（项目监理机构）:</label>
                                            </p>
                                            <p class="indent20">
                                                我方已按施工合同要求完成<input type="text" class="input-xt" name="project_name" required/>工程，经自检合格，现将有关资料报上，请予以验收。
                                            </p>
                                            <p></p>
                                            <p class="indent20">
                                                附件
                                                <div class="controls" style="margin-left: 12px">
                                                    <ol>
                                                        <li>
                                                        	<span style="width:200px !important;">工程质量验收报告</span>
                                                            <a href="javascript:void(0);" class="btn upBtn btn-primary" name="attachment_1" style="padding: 6px;margin: 15px;line-height: 0.7em;">上传</a>
                                                        </li>
                                                        <li>
                                                        	<span style="width:200px !important;">工程功能检验资料</span>
                                                            <a href="javascript:void(0);" class="btn upBtn btn-primary" name="attachment_2" style="padding: 6px;margin: 15px;line-height: 0.7em;">上传</a>
                                                        </li>
                                                    </ol>
                                                    <input type="file" id="upFile" name="upFile" style="display:none" />
                                                </div>
                                            </p>
                                            <div class="signature">
                                                <p>
                                                    施工单位（盖章）
                                                </p>
                                                <p>
                                                    项目经理（签字)
                                                </p>
                                            </div>
                                            <p class="signature-date">
                                                <input type="text" class="js-date input-xt" name="publish_time" value="<php>echo date('Y-m-d');</php>" required />                                               
                                            </p>         
                                        </td>
                                    </tr>
                                    <!--<tr>
                                        <td colspan="4">
                                            <label>预验收意见：</label>
                                            <textarea style="height:200px; width:100%">经预验收，该工程合格/不合格，可以/不可以组织正式验收。</textarea>
                                            <div class="signature">
                                                <p>项目监理机构(盖章)</p>
                                                <p>总监理工程师（签字、加盖执业印章）</p>
                                            </div>
                                            <div>
                                                <p class="signature-date">
                                                    <span>年</span>
                                                    <span>月</span>
                                                    <span>日</span>
                                                </p>
                                            </div>
                                        </td>
                                    </tr> -->
                                </table>
                                <p class="text-muted tg-note">
                                    <small>注：本表一式三份，项目监理机构、建设单位、施工单位各一份。</small>
                                </p>
                                <div class="form-actions">
                                    <button type="submit" class="btn btn-primary js-ajax-submit">{:L('SAVE')}</button>
                                    <a class="btn btn-default" href="javascript:history.back(-1);">{:L('BACK')}</a>
                                </div>
                            </form>                   
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </div>
    <script src="__PUBLIC__/js/common.js"></script>
    <script type="text/javascript">
		$(document).ready(function(e) {
			window.obj = '';
			// 选择图片
			$(document).on("click", ".upBtn", function(e) {
				window.obj = $(this);
				$("#upFile").click();
			});
			// 文件选择器change事件
			$("#upFile").on("change", function(){
				UploadOneFile("{:U('FinalAcceptanceExamination/upload')}", "final_acceptance_examination");
			});
		});
	</script>
</body>
</html>